const mongoose = require('../index.js');

const todoListSchema = new mongoose.Schema({
    title:String,
    isDone:{
        type:Boolean,
        default:false
    }
})

const todoListModel = mongoose.model('todoList', todoListSchema, 'todoList');

module.exports = todoListModel;